Home
last modified time | relevance | path

Searched hist:"5 e58109b1ea454b93e455e0e8fc0bc4c226b8c0a" (Results 1 – 2 of 2) sorted by last modified time

/linux/net/core/
H A Ddrop_monitor.cdiff 5e58109b1ea454b93e455e0e8fc0bc4c226b8c0a Sat Aug 17 15:28:14 CEST 2019 Ido Schimmel <idosch@mellanox.com> drop_monitor: Add support for packet alert mode for hardware drops

In a similar fashion to software drops, extend drop monitor to send
netlink events when packets are dropped by the underlying hardware.

The main difference is that instead of encoding the program counter (PC)
from which kfree_skb() was called in the netlink message, we encode the
hardware trap name. The two are mostly equivalent since they should both
help the user understand why the packet was dropped.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/include/uapi/linux/
H A Dnet_dropmon.hdiff 5e58109b1ea454b93e455e0e8fc0bc4c226b8c0a Sat Aug 17 15:28:14 CEST 2019 Ido Schimmel <idosch@mellanox.com> drop_monitor: Add support for packet alert mode for hardware drops

In a similar fashion to software drops, extend drop monitor to send
netlink events when packets are dropped by the underlying hardware.

The main difference is that instead of encoding the program counter (PC)
from which kfree_skb() was called in the netlink message, we encode the
hardware trap name. The two are mostly equivalent since they should both
help the user understand why the packet was dropped.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>